<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="gov.chinatax.ctcps.common.Constants"%>
<%@ include file="/common/inc.jsp"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'czpfdrMain.jsp' starting page</title>    
    <link rel="stylesheet" href="images/style.css" type="text/css">
  </head> 
 <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
 <html:form method="post" action="ZfzbCzpfDrAction.do" enctype="multipart/form-data">
<table id="czpfTable" width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="100%">
  <tr>
    <td>
      <table width="90%" border="0" cellspacing="0" cellpadding="1" align="center" height="180" class="box2">
        <tr>
          <td bgcolor="EFF2FD">
            <table width="100%" border="0" cellspacing="4" cellpadding="0" align="center" height="57">
              <tr>
                <td width="10%"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" height="47">
                    <tr>
                      <td height="42"><img src="<%=basePath%>/images/zf_icon.gif" width="89" height="77"></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                    </tr>
                  </table>
                </td>
                <td> 
                  <table width="90%" border="0" cellspacing="0" cellpadding="0" height="30">
                    <tr> 
                      <td width="15%">
                       <table>
                       	<tr>
                       		<td rowspan="2">
	                          	支付指标：&nbsp;&nbsp;&nbsp;
		                        <html:select property="zt1">
									<logic:present name="hflist">
										<logic:iterate id="zfzbzt" name="hflist" scope="request" type="gov.chinatax.ctcps.formbean.form.ZfzbZtExtForm">
			          				        <option value='<bean:write name="zfzbzt" property="hfztbh" />'><bean:write name="zfzbzt" property="hfmc" /></option>
										</logic:iterate>
									</logic:present>
			          			</html:select>
			          			&nbsp;&nbsp;&nbsp;
		                        <html:file property="uploadfile"/>	
	                        </td>
	                        <td></td>
	                        <td>
	                          <input class="button" type="button" style="cursor:hand" value=" 导 入 ">
	                        </td>
                       	</tr>
                       </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
		 <td>
		  <input type="hidden" name="method" id="method" value="importczpf">
		 </td>
		</tr>
      </table>
    </td>
  </tr>
</table>
</html:form>
</body>
</html>
<script>
 var tableURI="<%=request.getRequestURI()%>";
  //导出Excel
  function exportExcel(){	
    exportToExcel("czpfTable","财政批复导入表");
  }
 function daoru(){
  if(document.all.uploadfile.value==null || document.all.uploadfile.value==""){
   		alert("请选择您要导入的财政批复文件！");
		return;
	}
	zfzbDrForm.submit();
 }
  //打印模板设置
 function printDesign(){
   //printTableDesign(WebPrinter,"czpfTable",tableURI);
 }
 //预览打印
 function printTable(){
   var singAry=new Array();
   //singAry应动态赋值：所需参数列表 
    //printTableView(WebPrinter,"czpfTable",tableURI,singAry);
   }
</script>
